package com.lzy.cloud.shop.remote;


import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "lzy-cloud-goods")
public interface GoodsApi {

    /**
     * 查询该商户租赁房车的数量
     *
     * @param shopId
     * @return
     */
    @RequestMapping(value = "/car/rent/car/number/{shopId}")
    Result selectCarNumberByShopId(@PathVariable("shopId") Long shopId);
}
